package com.moli.iov.third.contstants;

/**
 * <p>
 *
 * </p>
 *
 * @author zql
 * @since 2019/5/27 17:59
 */
public class Constants {

    /**
     * OP 返回成功标志
     */
    public static final int OP_SUCCESS = 0;

    /**
     * TOKEN 失效
     */
    public static final int OP_TOKEN_ERROR = 401;

    /**
     * OP token 缓存
     */
    public static final String TASK_SERVICE_OP_TOKEN="IOV:SERVICE:OP:TOKEN";

    /**
     * token缓存时长 10 分钟
     */
    public static final Long OP_TOKEN_TIME = 60 * 10L;

    /**
     * redis 缓存前缀
     */
    public static final String REDIS_PREFIX = "IOV:HADNLE:TASK:";
}
